def task_priority(task1):
         priority_list = {"最首要任务/High": 0, "首要任务/Medium": 1, "次要任务/Low": 2}
         return sorted(task1, key=lambda item: priority_list[item[1]]) 
from datetime import datetime 
data = datetime.now().strftime('%Y-%m-%d %H:%M:%S')    
def priority_task():
         return priority_stuff.get()